projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed8c535
)
hvm: Fix a typo in p2m.c.
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 10 Apr 2008 15:17:28 +0000
(16:17 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 10 Apr 2008 15:17:28 +0000
(16:17 +0100)
Spotted by Xiao Wang <sirouni@yahoo.com.cn>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/mm/p2m.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/p2m.c
b/xen/arch/x86/mm/p2m.c
index 13bfada81109721df3dc45daa43531f5bba2b350..97d92880bb9f8c49feb441de405386316a254948 100644
(file)
--- a/
xen/arch/x86/mm/p2m.c
+++ b/
xen/arch/x86/mm/p2m.c
@@
-941,7
+941,7
@@
void p2m_change_type_global(struct domain *d, p2m_type_t ot, p2m_type_t nt)
mfn = l1e_get_pfn(l1e[i1]);
gfn = get_gpfn_from_mfn(mfn);
/* create a new 1le entry with the new type */
- flags = p2m_
flags_to_type
(nt);
+ flags = p2m_
type_to_flags
(nt);
l1e_content = l1e_from_pfn(mfn, flags);
paging_write_p2m_entry(d, gfn, &l1e[i1],
l1mfn, l1e_content, 1);